package com.redrose.rxandroiddemo.database;

import androidx.lifecycle.LiveData;
import androidx.room.Dao;
import androidx.room.Query;

import com.redrose.rxandroiddemo.bean.Women;

import java.util.List;

@Dao
public interface WomenDao {
    @Query("SELECT * FROM women_table")
    LiveData<List<Women>> loadAllWomen();
}
